﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Survey.master" AutoEventWireup="false" CodeFile="SurveyResultDetails.aspx.vb" Inherits="SurveyResultDetails" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <fieldset>
<legend> Survey Results</legend>
    <asp:Chart ID="Chart1" runat="server" DataSourceID="DSSurveyResults">
        <Series>
            <asp:Series Name="Series1" XValueMember="Vote" YValueMembers="CountOfVote">
            </asp:Series>
        </Series>
        <ChartAreas>
            <asp:ChartArea Name="ChartArea1">
            </asp:ChartArea>
        </ChartAreas>
    </asp:Chart>
    <asp:SqlDataSource ID="DSSurveyResults" runat="server" 
        ConnectionString="<%$ ConnectionStrings:myFirstDatabase %>" 
        ProviderName="<%$ ConnectionStrings:myFirstDatabase.ProviderName %>" 
        SelectCommand="SELECT * FROM [QSiteCategoryResults]"></asp:SqlDataSource>
</fieldset>
</asp:Content>

